﻿<%@ Page Title="" Language="vb" AutoEventWireup="false" MasterPageFile="~/MasterPages/Default.Master" CodeBehind="Default.aspx.vb" Inherits="GuildCMS.Calendar._Default" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <link href="../CSS/Calendar/Default.css" rel="stylesheet" type="text/css" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    
    <asp:DataList ID="dlstCalendar" RepeatColumns="7" Width="600px" BorderStyle="None" RepeatDirection="Horizontal" OnItemDataBound="dlstCalendar_ItemDataBound" runat="server">
        <HeaderTemplate>
            <table width="100%" border="0" cellpadding="0" style="background-color:#00bfff; height:20px;">
                <tr>
                    <td width="33%">
                        <asp:DropDownList ID="ddlPrevious" AutoPostBack="true" width="70px" OnSelectedIndexChanged="RefreshData" runat="server"></asp:DropDownList>
                        <asp:HyperLink ID="lnkLeft" runat="server">Previous</asp:HyperLink>
                    </td>
                    <td width="34%">
                        <asp:Label ID="lblMiddle" runat="server"></asp:Label>
                    </td>
                    <td width="33%">
                        <asp:HyperLink ID="lnkRight" runat="server">Next</asp:HyperLink>
                        <asp:DropDownList ID="ddlNext" AutoPostBack="true" Width="70px" OnSelectedIndexChanged="RefreshData" runat="server"></asp:DropDownList>
                    </td>
                </tr>
            </table>
        </HeaderTemplate>
        <ItemTemplate>
            <table border="0" cellpadding="0" style="background-color:silver; height:100px;" width="130px">
                <tr>
                    <td align="left" valign="top">
                        <asp:Label ID="lblDay" runat="server" Text='<%# DataBinder.Eval(Container.DataItem, "Data") %>' Width="100%"></asp:Label>
                    </td>
                </tr>
            </table>
        </ItemTemplate>
    </asp:DataList>
    
</asp:Content>
